home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Developer CD 2.1
/
Amiga Developer CD v2.1.iso
/
Extras
/
Development
/
Example_Code_v37
/
Libraries
/
Intuition
/
boopsi
/
hookface.asm
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Assembly Source File
|
1996-03-17
|
336 b
|
26 lines
* $Id: $
INCLUDE 'exec/types.i'
INCLUDE 'utility/hooks.i'
section text,code
xdef _hookEntry
xdef _stubReturn
* entry interface for C code (large-code, stack parameters)
_hookEntry:
move.l a1,-(sp)
move.l a2,-(sp)
move.l a0,-(sp)
move.l h_SubEntry(a0),a0 ; C entry point
jsr (a0)
lea 12(sp),sp
_stubReturn:
rts
end